<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>  
<%@ include file="../common/taglib.jsp"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
<sfa:mainTitle></sfa:mainTitle>
<%@ include file="../common/meta.jsp"%> 
<link rel="stylesheet" href="${path }/css/style.css" type="text/css"></link>


<script type="text/javascript" language="javascript">
	
	$(document).ready(	function() { 
		if("${msg}"!=""){
			//var dialog = art.dialog({id: 'N3690',title: "aaaaaaaa",content:"ddd"});
			art.dialog({
			    content: '${msg}',
			    ok: function () {
			    },
			    cancelVal: '关闭',
			    cancel: true //为true等价于function(){}
			});
		}
	})
	
	function login(){
		var form=document.getElementById("loginform");
		form.submit();
	}
	
	$(function(){		
		$("#codeImg").click(function(){
			var currentTime=new Date().getTime();
			$("#codeImg").attr("src","/?acctime="+currentTime);
		});
	});
	
	function takePress(){
		  if(event.keyCode == 13){
			  login();
		  }
		}
</script>

</head>
<body onkeypress="takePress()">
<div class="header">
<div class="header-logo"><a
	href="">腾讯手机应用平台</a>
</div>
<div class="header-info"><span></span> 
</div>
</div>

		<div class="content login-wrapper">
			<div class="login-main">
				<div class="login-box">
					<form method="post" name="loginform" id="loginform" action="${path }/login/index">

						<p>
							<label>
								用户名 :
							</label>
						</p>
						<p>
							<input id="username" name="username" type="text" tabindex=1 value="A24806" style="width:160px;"/>
						</p>
						<p>
							<label>
								密码 :
							</label>
						</p>
						<p>
							<input id="pwd" name="pwd" type="password" tabindex=2 value="~1qazxsw2" style="width:160px;" />
							
						</p>
		
						<!--  
						<p>
							<label>
								验证码 :
							</label>
						</p>
						<p>
							<input id="code" name="code" type="text" tabindex=3 style="width:160px;" />
							<img alt="点击更换验证码"  style="width:130px;height:53px;cursor:pointer" src=""  id="codeImg"></img>
						</p>
						-->
					</form>
						<p>
							<button class="btn-login" onclick="login()" tabindex=4></button> 
							 <!--<button class="btn-register" onclick="register()" tabindex=5></button> 
							
						-->
							<a href="${path}/login/forget/index" style="text-decoration: none;">忘记密码</a>
						</p>
						
					
				</div>
			</div>
			
<!-- 公司统一footer -->
<div id="footer">
	<script type="text/javascript" src="${path }/script/mqq_footer_normal.js" charset="UTF-8"></script>
</div>
		</div>
	</body>
</html>


